package com.zmj.sy.mom.srv.aps.bean.vo.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Getter
@Setter
public class OrderProdGanttArrayResVo {

    @ApiModelProperty("工作组ID")
    private Integer groupId;

    @ApiModelProperty("订单ID")
    private Integer orderId;

    @ApiModelProperty("订单编号")
    private String orderCode;

    @ApiModelProperty("订单名称")
    private String orderName;

    @ApiModelProperty("施工号")
    private String constructNo;

    @ApiModelProperty("物料编号")
    private String materCode;

    @ApiModelProperty("物料名称")
    private String materName;

    @ApiModelProperty("订单数量")
    private Integer orderQty;

    @ApiModelProperty("完工数量")
    private Integer finishQty;

    @ApiModelProperty("哪天")
    private LocalDate shiftDay;

    @ApiModelProperty("工时（秒）")
    private Integer workTime;

    @ApiModelProperty("工时（分）")
    private BigDecimal workTimeMinutes;

    @ApiModelProperty("开始时间")
    private LocalDateTime start;

    @ApiModelProperty("结束时间")
    private LocalDateTime end;

    @ApiModelProperty("颜色")
    private String color;

    @ApiModelProperty("计划开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDateTime planStartDateTime;

    @ApiModelProperty("计划结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDateTime planEndDateTime;

}
